package persistence;

import java.util.List;

import docks.Dock;

public interface DataBaseAPI {

    public long insertFavorite(int id);
    
    public long deleteFavorite(int id);
    
    public List<Dock> getFavorites();
    
    public List<Dock> getAll();
    
    public List<Dock> getFull();
    
    public List<Dock> getHalf();
    
    public List<Dock> getEmpty();
    
    public List<Dock> getNotFull();
    
    public Dock getDock(int id);
    
    public long insertDock(Dock d);
    
    public long updateDock(int id, int free, int available);
    
    public void onDestroy();

	public List<Dock> getNotEmpty();
}
